ACM: Fix a problem with the boot option parser.
authorKeir Fraser <keir@xensource.com>
Sun, 1 Jul 2007 21:21:58 +0000 (22:21 +0100)
committerKeir Fraser <keir@xensource.com>
Sun, 1 Jul 2007 21:21:58 +0000 (22:21 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
xen/acm/acm_core.c

index 5cbff94bad8ce54fde3dde6778678f10733e0ccf..72039549099da47d27134653189b972d6c7cc49b 100644 (file)
@@ -89,7 +89,7 @@ static void __init set_dom0_ssidref(const char *val)
         if (hi < ACM_MAX_NUM_TYPES && hi >= 1)
             dom0_ste_ssidref = hi;
         for (i = 0; i < sizeof(polname); i++) {
-            polname[i] = c[7+i];
+            polname[i] = c[5+i];
             if (polname[i] == '\0' || polname[i] == '\t' ||
                 polname[i] == '\n' || polname[i] == ' '  ||
                 polname[i] == ':') {